<template>
  <view v-if="isEmptyContainer">
    <slot />
  </view>
  <el-config-provider :locale="locale" v-else>
    <slot />
    <GdContainerService />
  </el-config-provider>
</template>
<script>
export default {
  name: "BizWrapSimple",
  inheritAttrs: false,
};
</script>
<script setup>
import { ref, shallowRef, computed, watch } from "vue";
import { ElConfigProvider } from "element-plus";

import zhCn from "element-plus/lib/locale/lang/zh-cn";

import GdContainerService from "@gd-accbuild-ui/gd-ui/gd-service/gd-container-service/gd-container-service.vue";

const props = defineProps({
  isEmptyContainer: {
    type: Boolean,
    default: false,
  },
});

const locale = shallowRef(zhCn);
</script>
